package zgrjb.snbq.teach_platform.service;

import zgrjb.snbq.teach_platform.dto.model.CommentDO;
import zgrjb.snbq.teach_platform.dto.req.AddCommentRequest;
import zgrjb.snbq.teach_platform.util.JsonData;
import zgrjb.snbq.teach_platform.dto.req.AddCommentRequest;
import zgrjb.snbq.teach_platform.util.JsonData;

public interface CommentService {
    JsonData listComment(Long topicId);

    JsonData addComment(CommentDO commentDO);

    JsonData goodComment(Long commentId);

    JsonData add(AddCommentRequest request);

    JsonData list(Long topicId,int page,int size);

    JsonData del(Long commentId);
}
